package com.ruoyi.community.mapper;

import com.ruoyi.community.domain.EcRestaurants;
import com.ruoyi.community.domain.HelpGoods;

import java.util.List;
import java.util.Map;

public interface HelpGoodsMapper {
    int deleteByPrimaryKey(Long goodsId);

    int insert(HelpGoods record);

    int insertSelective(HelpGoods record);

    HelpGoods selectByPrimaryKey(Long goodsId);

    List<HelpGoods> selectByCommunityId(Integer communityId);

    List<HelpGoods> selectByCommunityId1(Integer communityId);

    List<HelpGoods> selectAllGoodsByCommunityId(Integer communityId);

    int updateByPrimaryKeySelective(HelpGoods record);

    int updateByPrimaryKey(HelpGoods record);

    public List<HelpGoods> selectByCommunityIdAndName(Map map);

    public List<HelpGoods> selectByCommunityIdAndName1(Map map);
}